import request from '@/utils/request'

export function GetQue () {
    return request({
        url: 'api/query/questionAll',
        method: 'post'
    })
}

export function GetNoQue (data) {
    return request({
        url: 'api/query/questionNo',
        method: 'post',
        data
    })
}

export function AddQue (data) {
    return request({
        url: 'api/insert/question',
        method: 'post',
        data
    })
}

export function DelQue (data) {
    return request({
        url: 'api/delete/question',
        method: 'post',
        data
    })
}

export function SetQue (data) {
    return request({
        url: 'api/update/question',
        method: 'post',
        data
    })
}
